def decorator(*args,**kwargs): 
    def start_decoration(func):
        def make_decorator():
            print(args,kwargs)
            print('现在开始装饰')
            func()
            print('现在结束装饰')
        return make_decorator
    return start_decoration
 
@decorator("hello world",name="hello")
def test():
    print('i am test')

# 执行函数
test()